package com.aspose.cells;

class zdr extends zcdb {
   zdr(znd var1) throws Exception {
      int var2 = 50 + var1.j.length() * 2;
      this.c = new byte[var2];
      this.d = 397;
      byte var3 = 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.c), 0, this.c, var3, 4);
      int var5 = var3 + 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.e + var1.c), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.d), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.f + var1.d), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.a), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.h), 0, this.c, var5, 4);
      var5 += 4;
      System.arraycopy(var1.b.a(), 0, this.c, var5, 16);
      var5 += 16;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.i), 0, this.c, var5, 2);
      var5 += 2;
      byte var4 = 0;
      int var6 = var4 | (var1.n() ? 1 : 0);
      var6 |= var1.p() ? 2 : 0;
      var6 |= var1.d() ? 4 : 0;
      var6 |= var1.e() ? 8 : 0;
      var6 |= var1.o() ? 16 : 0;
      var6 |= var1.a() ? 32 : 0;
      var6 |= var1.b() ? 64 : 0;
      var6 |= var1.c() == 2 ? 0 : (var1.c() == 1 ? 128 : 256);
      var6 |= var1.f() == 0 ? 0 : (var1.f() == 2 ? 512 : 1024);
      var6 |= var1.g() ? 2048 : 0;
      var6 |= var1.h() ? 4096 : 0;
      var6 |= var1.j() ? 8192 : 0;
      var6 |= var1.k() ? 16384 : 0;
      var6 |= var1.l() ? '耀' : 0;
      var6 |= var1.m() ? 65536 : 0;
      System.arraycopy(com.aspose.cells.b.a.zc.a(var6), 0, this.c, var5, 4);
      var5 += 4;
      zcch.a(this.c, var5, var1.j);
   }
}
